<template>
  <div class="container-fluid m-0 p-0" :class="[vdata.onpc?'equip-pc':'equip-ph']">
    <div>{{info.Desc}}</div>
  </div>
</template>

<script>
/* eslint-disable comma-dangle */
export default {
  data: function () {
    return {
      vdata: this.gdata.data,
      info: {},
    }
  },
  components: {
  },
  computed: {
  },
  methods: {
    onclose: function (event) {
      this.$parent.vclose()
    },
    G2C: function (pid, rsp, success, result) {
      switch (pid) {
        case 'G2C_EQUIP_INFOROOM':
        case 'G2C_EQUIP_INFOINV':
          this.jxwdtextmud(rsp.Info.Desc)
          this.info = rsp.Info
          break
        default:
          // 这里是没有找到对应的值处理
          break
      }
    }
  },
}
</script>

<style scoped>
.equip-pc {
  font-size: 15px;
}
.equip-ph {
  font-size: 10px;
  margin: 0px;
  padding: 0px;
}
</style>
